package com.jwsoft.manager.core.dao.service;

import com.jwsoft.manager.core.dao.model.EduDataTaskDetail;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 数据备份任务详情表服务类
 *
 * @author zhiyuan
 * @since 2023-09-13
 */
public interface EduDataTaskDetailService extends IService<EduDataTaskDetail> {

    /**
     * 校验数据是否迁移过
     * @param year
     * @param handleTable
     * @return
     */
    Boolean verifyQueryHistory(Integer year, String handleTable);

    /**
     * 校验历史数据是否加密过
     * @param year
     * @param handleTable
     * @return
     */
    Boolean verifyHistoryEncrypt(Integer year,String handleTable);

    /**
     * 根据表名,年份，任务id
     * 校验此表是否执行过数据清洗
     * @param year
     * @param handleTable
     * @param taskId
     * @return
     */
    Boolean verifyDestructionByTable(Integer year, String handleTable, String taskId);
}
